home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 1197 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  3.5 KB

  1. Path: myst.plaza.ds.adp.com!timh
  2. From: timh@news (Tim Harvey)
  3. Newsgroups: comp.object,comp.software-eng,comp.lang.c++
  4. Subject: Re: Moving from C to C++
  5. Followup-To: comp.object,comp.software-eng,comp.lang.c++
  6. Date: 9 Jan 1996 18:35:04 GMT
  7. Organization: news
  8. Message-ID: <4cucgo$4c0@myst.plaza.ds.adp.com>
  9. References: <4cs44p$3pk@ixnews8.ix.netcom.com>
  10. NNTP-Posting-Host: terminus.plaza.ds.adp.com
  11. X-Newsreader: TIN [version 1.2 PL2]
  12.  
  13.  
  14. I was involved with training at Mentor Graphics when they were a Beta
  15. test site for AT&T cfront in the late 80s.  Based on that experiences
  16. here are a few suggestions/observations:
  17.  
  18.  
  19. Don't let your company cheap out on training.  Most managements will say
  20. something like "hey, C is a subset of C++, so my guys are basically already
  21. traianed."  A big WRONG.  You'll get a missuse of C++ that could very easily
  22. result in slowwwwww, poorly engineered code that will have to be redone.
  23. Trial and error is not the way to adopt C++. 
  24.  
  25. Making the shift is not trivial.  We found that it takes between 3-6 months
  26. of doing nothing but working with C++ to understand it, and the difference
  27. has to do with whether or not there is access to an experienced guru.
  28.  
  29. Spend some money on getting an experienced C++ expert in to not so much
  30. teach syntax, but to get your guys thinking objects.  One way to do this
  31. is to send your guys. . . not to C++ training, but to a Smalltalk class
  32. where they won't be tripped-up by what they already know about C, and where
  33. they are forced to work in a pure OO setting.  BTW, your resident C++
  34. coach should be directly involved in tool selection and project design.
  35.  
  36. If you're not looking at class libraries from vendors like Rogue Wave,
  37. you should.  The same for development tools.  Don't waste time and 
  38. resources re-inventing low-level classes, or waste your developers by
  39. sending them in to do battle without good tools.  Things like purify
  40. should be there from the first day.  Have your resident guru get your
  41. guys up on them.
  42.  
  43. The great advantage of C++ is code resuse and the ability to do larger,
  44. more complex projects.  This won't happen if you turn people with a C
  45. way of thinking loose with the idea that it's a simple syntax problem
  46. to step up to C++.  The shift is worthwhile, providing the "ingredients" for
  47. achieving the benefits of C++ are in place -- they are:
  48.  
  49.   1.  OO training
  50.   2.  Resident gurus to provide guidance
  51.   3.  OO design based on commercial libraries - you do the real stuff.
  52.       Reinventing String classes is a fun exercise, but it won't get
  53.       your project done.
  54.   4.  Good tools.
  55.  
  56.  
  57. And. . . good luck.
  58.  
  59. Tim
  60.  
  61.  
  62. Rocco Pochy (pochy@pop.ix.netcom.com) wrote:
  63.  
  64. : Hello.
  65.  
  66. : Our company is looking at moving toward C++ and the object-oriented
  67. : paradigm.  Unfortunately, the engineering staff is trained in C. Does
  68. : anybody have any experiences in moving from a structure C environment
  69. : to that of an object-oriented C++ environment?
  70.  
  71. : Is it better to ease everyone into using C++ as a better C and take
  72. : advantage of the encapsulation, getting people familar on the tools
  73. : before jumping into a full object-oriented development?  Or should 
  74. : one jump right in a take the learning curve hit, sacrificing time to
  75. : market?
  76.  
  77. : I would appreciate and feedback on the pitfalls and benefits to these
  78. : approaches.
  79.  
  80.  
  81. : Thanks in Adavance....
  82.  
  83. : R.
  84.  
  85.  
  86. --
  87.  
  88.  
  89.  
  90. \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ 
  91.  
  92. Tim Harvey                                                  email: rwi@teleport.com 
  93. rightWrite, Inc.                                            phone: (503) 246-4007                        
  94.